package com.gxa.autoparts.core.util;

import java.util.List;

public class GetMinUtil {
    public static double minArray(List<Double> arr){
        Double min=arr.get(0);
        for (Double aDouble : arr) {
            if(min>aDouble){
                min=aDouble;
            }
        }
        return min;
    }
}
